#ifndef ANIMATION_H
#define ANIMATION_H

#include <string>
#include "Sprite.h"

using namespace std;

class Animation: public Sprite{
    public:
    Animation(string nomeArq, float x, float y, int frameTime, int n);
    void Update(int dt);
    void Render(SDL_Surface *screen);

    int frameTime;
    int n;
    int tempo;
    int saltoFrames;
    SDL_Rect srcrect;

};

#endif //ANIMATION_H





